﻿using System;

namespace Gum.FizzBuzz.Writers
{
    /// <summary>
    /// Implements IStringWriter and delegates to Console.Out
    /// </summary>
    public class ConsoleStringWriter : IStringWriter
    {
        /// <summary>
        /// Writes a string to the Console
        /// </summary>
        /// <param name="value">The value to write to the console</param>
        public void Write(string value)
        {
            Console.WriteLine(value);
        }
    }
}